package com.tristia.resources;

import com.tristia.entity.People;
import com.tristia.entity.Person;
import com.tristia.entity.SuccessInfo;

public interface PersonResource {
//	public abstract String getPersons();
//	public abstract List<Person> getPersonList();
	public abstract People getPeople();
	public abstract Person getPerson(String id);
//	public abstract String updatePerson( String id, String name, String age);
	public abstract SuccessInfo updatePerson( String id, String name, String age);
	public abstract SuccessInfo addPerson( String name, String age);
	public abstract SuccessInfo deletePerson(String ids);

}